<?php if (!defined('THINK_PATH')) exit();?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <title>Pour un Sourire Eternel(PSE)  </title>
    <link rel="stylesheet" href="__APP__/Public/css/common.css" type="text/css" />
    <link rel="stylesheet" href="__APP__/Public/css/public.css" type="text/css" />
    <link rel='stylesheet' href='__APP__/Public/css/jquery-ui.css' type='text/css' >
    
	<script type="text/javascript" src="__APP__/Public/js/jquery-1.5.1.min.js"></script>
	<script type="text/javascript" src="__APP__/Public/js/jquery-ui-1.8.11.min.js"></script>
	<script type="text/javascript" src="__APP__/Public/js/functions.js"></script>
</head>
<body>
    <!--header开始-->
    <div id="header" class="header">
        <a href="#" class="logo"></a>
        <span style="float:right;margin-top: 26px;"><?php echo L('header_tag1');?><br /><?php echo L('header_tag2');?></span> 
    </div>
    <!--header结束-->

    <div class="container02">
        <div class="main">
            <div class="userContainer">
				
<div class="preview_confirm_box">
	<?php if(($group == 'visiter') or ($group == 'common') ): ?><a href="/Users/userProfile?uid=<?php echo ($uid); ?>"><?php echo (L("edit")); ?></a>	
		<?php if(($paid == 0) and ($createdby == 2) ): ?>&nbsp;&nbsp; &nbsp;&nbsp;<a href="/Paypal/checkout?uid=<?php echo ($uid); ?>" /><?php echo (L("pay")); ?></a><?php endif; endif; ?>
	
	<?php if(($group == 'agency') and ($confirmed == 0) ): ?><a href="/Users/confirmSave?uid=<?php echo ($uid); ?>"><?php echo (L("confirm_save")); ?></a> &nbsp;&nbsp;&nbsp;&nbsp; 
		<a href="/Users/tempStorage?uid=<?php echo ($uid); ?>"><?php echo (L("just_save")); ?></a> &nbsp;&nbsp;&nbsp;&nbsp;
		<a href="/Users/userProfile?uid=<?php echo ($uid); ?>"><?php echo (L("edit")); ?></a><?php endif; ?>
	
	<?php if($group == 'agency'): if($confirmed == 0): ?><a href="javascript:void(0);" onclick="goback('/Users/userProfile?uid=<?php echo ($uid); ?>');"><?php echo (L("goback")); ?></a>
		<?php else: ?>
			<a href="javascript:void(0);" onclick="goback('/Users/hasconfirmedUserList');"><?php echo (L("goback")); ?></a><?php endif; endif; ?>
</div>
 
 
 <br />
 <div id="userheader">
     <a id='navHome' href="/Users/view?uid=<?php echo ($uid); ?>&type=home"><?php echo (L("home_page")); ?></a>
     <a id='navAlllife' href="/Users/view?uid=<?php echo ($uid); ?>&type=life"><?php echo (L("biography")); ?></a> 
     <a id='navGenealogy' href="/Users/view?uid=<?php echo ($uid); ?>&type=gen"><?php echo (L("genealogy")); ?></a> 
     <a id='navPic' href="/Users/view?uid=<?php echo ($uid); ?>&type=pic"><?php echo (L("my_pics")); ?></a> 
     <a id='navWord' href="/Users/view?uid=<?php echo ($uid); ?>&type=word"><?php echo (L("my_words")); ?></a> 
     <a id='navRemark' href="/Users/view?uid=<?php echo ($uid); ?>&type=remark"><?php echo (L("remark")); ?></a>
     <input id="currNav" type="hidden" value="<?php echo ($currNav); ?>" />
 </div>
 
 <br />
                <br />
                <div>
    <div class="left">
        <img src="<?php echo ($userInfo["avatar"]); ?>" width="110" height="80" /></div>
    <div class="left ml15">
        <h1>"Phrase d'accroche"</h1>
        <br />
        <?php echo (L("lastname")); ?>:<?php echo ($userInfo["lastname"]); ?> <?php echo (L("firstname")); ?>:<?php echo ($userInfo["firstname"]); ?> 
        <?php if($userInfo["secondname"] != '' ): ?>(/<?php echo (L("secondname")); ?> )<?php echo ($userInfo["secondname"]); endif; ?>
        &nbsp;&nbsp;&nbsp; <?php echo (L("birthday")); ?>:<?php echo ($userInfo["birthday"]); ?> &nbsp;&nbsp;&nbsp;&nbsp; <?php echo (L("deathday")); ?>:<?php echo ($userInfo["deathday"]); ?>
        &nbsp;&nbsp;&nbsp;&nbsp; <?php echo (L("die_the_age")); ?>:<?php echo ($userInfo["age"]); echo (L("year_of_age")); ?>
    </div>
    <div class="clear">
    </div>
</div>
                <br />
                <div class="tip">
    <a href="#" class="contactbtn02"><?php echo (L("alllife")); ?></a><br /><div id='alllifediv'><?php echo ($alllife["content"]); ?></div>
</div>
<br />
<div class="tip">
    <a href="#" class="contactbtn02"><?php echo (L("genealogy")); ?></a><br />
  <?php echo ($genealogyName); ?>
</div>
<br />
<div class="tip">
    <a href="#" class="contactbtn03"><?php echo (L("picture")); ?></a>
    <br />
    <br />
    <ul class="createPhoto">
    	<?php if(is_array($userPics)): foreach($userPics as $key=>$pic): ?><li><img src="<?php echo ($pic["name"]); ?>" width="128" height="80" /></li><li><?php endforeach; endif; ?>
    </ul>
    <div class="clear">
    </div>
</div>
<br />
<div class="tip">
    <a href="#" class="contactbtn02"><?php echo (L("catchword")); ?></a>
    <br />
    <div id="catchword"></div>
    <div id='catchwordHid' style="display: none;">
	<?php if(is_array($catchwords)): foreach($catchwords as $key=>$word): echo ($word["content"]); endforeach; endif; ?>
	</div>
</div>
<br />
<div class="tip">
    <a href="#" class="contactbtn03"><?php echo (L("remark")); ?></a><br />
    <div id='remarkdiv'><?php echo ($userInfo["remark"]); ?></div>
</div>
<br />
    <script type="text/javascript">
<!--
$(function() {
	var wordHid = $('#catchwordHid').html();
	wordHid = HtmlDecode(wordHid);
	var catchword = $('#catchword').html(wordHid);
	
	var alllifestr = $('#alllifediv').html();
	alllifestr = HtmlDecode(alllifestr);
	$('#alllifediv').html(alllifestr);
	
	var remarkstr = $('#remarkdiv').html();
	remarkstr = HtmlDecode(remarkstr);
	$('#remarkdiv').html(remarkstr);
});
//-->
</script> 
            </div>
        </div>
    </div>

<!--footer开始-->
    <div id="footer">
        <div class="main">
            <div class="left">
                <a href="#">Offrir un Sourire Eternel</a></div>
            
            <div class="left ml118">
                <a href="#">｜Qui sommes nous?</a> <a href="#">｜Mentions légales</a> <!-- <a href="/Public/contactUs">｜联系我们</a> -->
            </div>
            <div class="right">
            	<a href="/Public/FAQ">FAQ</a>
                </div>
            <div class="clear">
            </div>
        </div>
    </div>
    <!--footer结束-->
</body>
</html>